<?php
class Work_model extends Model {

    function Work_model()
    {
        parent::Model();
        $this->load->database();
    }

    function  top_three()//take in array $votes array[item.id](Count(vote.id))
    {
        //$results array
        //for i=0 add first item of array to $results, i++
        //array should have 3 items
        //return array
    }



}
//EOF
